package com.hebang.stcommunityapp.viewModel;

import android.app.Application;
import android.view.View;
import androidx.annotation.NonNull;
import androidx.lifecycle.AndroidViewModel;
import androidx.lifecycle.MutableLiveData;


public class MainViewModel extends AndroidViewModel {
    private MutableLiveData<Integer> pageNum = new MutableLiveData<>();
    public MutableLiveData<Integer> getPageNum() {
        return pageNum;
    }

    public MainViewModel(@NonNull Application application) {
        super(application);
        pageNum.setValue(1);
    }

}
